import use_case.handlereturns.DVD;
import use_case.handlereturns.Game;
import junit.framework.TestCase;


public class GameTest extends TestCase {

	private Game g;
	
	protected void setUp(){
		g = new Game("Wars", "Action", 51849451);
	}
	
	protected void tearDown(){
		g = null;
	}
	
	public void testGetName(){
		setUp();
		String expected = "Wars";
		assertEquals(expected, g.getName());
		tearDown();
	}
	
	public void testGetID(){
		setUp();
		int expected = 51849451;
		assertEquals(expected, g.getID());
		tearDown();
	}
}
